package com.sc.design.factory.simplefacotry.multifactory;

/***
 * 每种工厂生产自己对应的实例，类的职责清晰，但是扩展性和维护性变差
 */
public class Client {
    public static void main(String[] args) {
        Human white = (new WhiteFactory()).createHuman();
        white.color();
        white.talk();
    }
}
